class Contact < ActiveRecord::Base
  has_many :conversations, :dependent => :protect
  has_many :customer_contacts, :dependent => :destroy
  has_many :customers, :through => :customer_contacts 
  validates_presence_of :first_name, :last_name 
  
  def full_name
    "#{self.first_name} #{self.last_name}"
  end
end
